package com.firefightingiot.firefightingiot.web.mapper.statistics;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.firefightingiot.firefightingiot.model.statistics.DeviceAlarmLogAllStatisticsMonth;
import com.firefightingiot.firefightingiot.web.domain.DeviceAlarmLogDo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeviceAlarmLogAllStatisticsMonthMapper extends BaseMapper<DeviceAlarmLogAllStatisticsMonth> {

    /**
     * 获取这个月的所有日志统计
     * @param jsonParam
     * @return
     */
    List<DeviceAlarmLogDo> getAllLogForStatistics(JSONObject jsonParam);
    /**
     *
     * @Title: insertZB <br>
     * @Description: (添加到DeviceAlarmLogAllStatisticsMonth中) <br>
     * @author 石延杰<br>
     * @param params
     */
    void insertZB(List<DeviceAlarmLogAllStatisticsMonth> list);
}
	